//==============================================================================
// Spearman_anim.txt
//==============================================================================

//==============================================================================
define LargeGreekShield
{
   SetSelector
   {
      set hotspot
      {
         version
         {
         	visual Greek Shield
		ReplaceTexture Attachments G Shield Copper/BandShield
         }
      }
   }
}
//==============================================================================

define Head
{
   SetSelector
   {
      TechLogic none/Medium Infantry/Heavy Infantry/Champion Infantry
      set hotspot
      {
         version
         {
            Visual Infantry G Hypaspist Head Copper
		}
	}
      set hotspot
      {
         version
         {
            Visual Royal Helmet
	        ReplaceTexture Infantry G Hoplite Head Bronze/hippeis Helmet
		}
	}
      set hotspot
      {
         version
         {
            Visual Royal Helmet
	        ReplaceTexture Infantry G Hoplite Head Bronze/Corinth Helmet1
		}
	}
      set hotspot
      {
         version
         {
            Visual Royal Helmet
	        ReplaceTexture Infantry G Hoplite Head Bronze/Corinth Helmet
         }
      }
   }
}
//==============================================================================

define Spear
{
   SetSelector
   {
      set hotspot
      {
         version
         {
            Visual Sarissa
         }
      }
   }
}

//==============================================================================
anim Idle
{
	SetSelector
	{
		SetSelector
		{
      			TechLogic none/Copper Mail/Bronze Mail/Iron Mail
			set hotspot
			{
				version
				{
					Visual Special Phalanx_IdleF
					Connect TopOfHead Head hotspot
					ReplaceTexture Infantry G Hoplite Standard/Band Armor1
				}
			}
			set hotspot
			{
				version
				{
					Visual Special Phalanx_IdleF
					Connect TopOfHead Head hotspot
					ReplaceTexture Infantry G Hoplite Standard/Band Armor2
				}
			}
			set hotspot
			{
				version
				{
					Visual Special Phalanx_IdleF
					Connect TopOfHead Head hotspot
					ReplaceTexture Infantry G Hoplite Standard/Band Armor3
				}
			}
			set hotspot
			{
				version
				{
					Visual Special Phalanx_IdleF
					Connect TopOfHead Head hotspot
					ReplaceTexture Infantry G Hoplite Standard/Band Armor4
				}
			}
		}
		SetSelector
		{
			set hotspot
			{
				version
				{
					VisualGranny Hop_idleA
				}
			}
		}
	}
}

//==============================================================================
anim Walk
{
	SetSelector
	{
		SetSelector
		{
      			TechLogic none/Copper Mail/Bronze Mail/Iron Mail
			set hotspot
			{
				version
				{
					Visual Special Phalanx_walkA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag FootstepLeft 0.00 true   
                  tag FootstepRight 0.50 true   
//-- end auto generated section
					Connect TopOfHead Head hotspot
					Connect FrontChest Armour hotspot
					connect LeftForearm LargeGreekShield hotspot
					ReplaceTexture Infantry G Hoplite Standard/Band Armor1
				}
			}
			set hotspot
			{
				version
				{
					Visual Special Phalanx_walkA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag FootstepLeft 0.00 true   
                  tag FootstepRight 0.50 true   
//-- end auto generated section
					Connect TopOfHead Head hotspot
					Connect FrontChest Armour hotspot
					connect LeftForearm LargeGreekShield hotspot
					ReplaceTexture Infantry G Hoplite Standard/Band Armor2
				}
			}
			set hotspot
			{
				version
				{
					Visual Special Phalanx_walkA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag FootstepLeft 0.00 true   
                  tag FootstepRight 0.50 true   
//-- end auto generated section
					Connect TopOfHead Head hotspot
					Connect FrontChest Armour hotspot
					connect LeftForearm LargeGreekShield hotspot
					ReplaceTexture Infantry G Hoplite Standard/Band Armor3
				}
			}
			set hotspot
			{
				version
				{
					Visual Special Phalanx_walkA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag FootstepLeft 0.00 true   
                  tag FootstepRight 0.50 true   
//-- end auto generated section
					Connect TopOfHead Head hotspot
					Connect FrontChest Armour hotspot
					connect LeftForearm LargeGreekShield hotspot
					ReplaceTexture Infantry G Hoplite Standard/Band Armor4
				}
			}
		}
		SetSelector
		{
			set hotspot
			{
				version
				{
					VisualGranny Hop_WalkA
				}
			}
		}
	}
}

//==============================================================================
anim Attack
{
	SetSelector
	{
		SetSelector
		{
      			TechLogic none/Copper Mail/Bronze Mail/Iron Mail
			set hotspot
			{
				version
				{
					Visual Special Phalanx_AttackA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag Attack 0.49 true   
                  tag GenericSound 0.40 true   
//-- end auto generated section
					Connect TopOfHead Head hotspot
					ReplaceTexture Infantry G Hoplite Standard/Band Armor1
				}
			}
			set hotspot
			{
				version
				{
					Visual Special Phalanx_AttackA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag Attack 0.49 true   
                  tag GenericSound 0.40 true   
//-- end auto generated section
					Connect TopOfHead Head hotspot
					ReplaceTexture Infantry G Hoplite Standard/Band Armor2
				}
			}
			set hotspot
			{
				version
				{
					Visual Special Phalanx_AttackA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag Attack 0.49 true   
                  tag GenericSound 0.40 true   
//-- end auto generated section
					Connect TopOfHead Head hotspot
					Connect FrontChest Armour hotspot
					ReplaceTexture Infantry G Hoplite Standard/Band Armor3
				}
			}
			set hotspot
			{
				version
				{
					Visual Special Phalanx_AttackA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag Attack 0.49 true   
                  tag GenericSound 0.40 true   
//-- end auto generated section
					Connect TopOfHead Head hotspot
					Connect FrontChest Armour hotspot
					ReplaceTexture Infantry G Hoplite Standard/Band Armor4
				}
			}
		}
		SetSelector
		{
			set hotspot
			{
				version
				{
					VisualGranny Hop_AttackA
						tag Attack 0.61 true   
                  tag GenericSound 0.40 true 
				}
			}
		}
	}
}

//==============================================================================
anim Death
{
   SetSelector
   {
      TechLogic none/Copper Mail/Bronze Mail/Iron Mail
      set hotspot
      {
         version
         {
				Visual Infantry G Hoplite_DeathA
				connect RightHand Spear hotspot
				connect LeftForearm LargeGreekShield hotspot
				Connect TopOfHead Head hotspot
				Connect FrontChest Armour hotspot
				ReplaceTexture Infantry G Hoplite Standard/Carth Armor3
				}
			}
      set hotspot
      {
         version
         {
				Visual Infantry G Hoplite_DeathA
				connect RightHand Spear hotspot
				connect LeftForearm LargeGreekShield hotspot
				Connect TopOfHead Head hotspot
				Connect FrontChest Armour hotspot
				ReplaceTexture Infantry G Hoplite Standard/Carth Armor1
				}
			}
      set hotspot
      {
         version
         {
				Visual Infantry G Hoplite_DeathA
				connect RightHand Spear hotspot
				connect LeftForearm LargeGreekShield hotspot
				Connect TopOfHead Head hotspot
				Connect FrontChest Armour hotspot
				ReplaceTexture Infantry G Hoplite Standard/Muscle Armor
				}
			}
      set hotspot
      {
         version
         {
				Visual Infantry G Hoplite_DeathA
				connect RightHand Spear hotspot
				connect LeftForearm LargeGreekShield hotspot
				Connect TopOfHead Head hotspot
				Connect FrontChest Armour hotspot
				ReplaceTexture Infantry G Hoplite Standard/Urban Armor
         }
      }
   }
}


//==============================================================================
anim Flail
{
   SetSelector
   {
      TechLogic none/Copper Mail/Bronze Mail/Iron Mail
      set hotspot
      {
         version
         {
				Visual Infantry G Hoplite_FlailA
				connect RightHand Spear hotspot
				connect LeftForearm LargeGreekShield hotspot
				Connect TopOfHead Head hotspot
				Connect FrontChest Armour hotspot
				ReplaceTexture Infantry G Hoplite Standard/Carth Armor3
				}
			}

      set hotspot
      {
         version
         {
				Visual Infantry G Hoplite_FlailA
				connect RightHand Spear hotspot
				connect LeftForearm LargeGreekShield hotspot
				Connect TopOfHead Head hotspot
				Connect FrontChest Armour hotspot
				ReplaceTexture Infantry G Hoplite Standard/Carth Armor1
				}
			}
      set hotspot
      {
         version
         {
				Visual Infantry G Hoplite_FlailA
				connect RightHand Spear hotspot
				connect LeftForearm LargeGreekShield hotspot
				Connect TopOfHead Head hotspot
				Connect FrontChest Armour hotspot
				ReplaceTexture Infantry G Hoplite Standard/Muscle Armor
				}
			}
      set hotspot
      {
         version
         {
				Visual Infantry G Hoplite_FlailA
				connect RightHand Spear hotspot
				connect LeftForearm LargeGreekShield hotspot
				Connect TopOfHead Head hotspot
				Connect FrontChest Armour hotspot
				ReplaceTexture Infantry G Hoplite Standard/Urban Armor
         }
      }
   }
}

//==============================================================================
anim Cinematic
{
   SetSelector
   {
		set hotspot
      {
         name 1
         version
         {
					Visual Special Phalanx_IdleA
					Connect TopOfHead Head hotspot
					Connect FrontChest Armour hotspot
					ReplaceTexture Infantry G Hoplite Standard/Band Armor3
         }
		}
		set hotspot
      {
         name 2
         version
         {
					Visual Special Phalanx_IdleB
					Connect TopOfHead Head hotspot
					Connect FrontChest Armour hotspot
					ReplaceTexture Infantry G Hoplite Standard/Band Armor3
         }
		}
		set hotspot
      {
         name 3
         version
         {
					Visual Special Phalanx_Idled
					Connect TopOfHead Head hotspot
					Connect FrontChest Armour hotspot
					ReplaceTexture Infantry G Hoplite Standard/Band Armor3
         }
		}
		set hotspot
      {
         name 4
         version
         {
					Visual Special Phalanx_IdleE
					Connect TopOfHead Head hotspot
					Connect FrontChest Armour hotspot
					ReplaceTexture Infantry G Hoplite Standard/Band Armor3
         }
      }
   }
}
